//
//  GameCenter.h
//  MagicBubbles
//
//  Created by fisker on 11-4-3.
//  Copyright 2011 LegendSoftware. All rights reserved.
//

#import <GameKit/GameKit.h>

@interface GameCenter : NSObject<GKLeaderboardViewControllerDelegate> {
	BOOL deviceSupported_;
	UIViewController * gameCenterView;
}

+(id)sharedGameCenter;



-(void)authenticatePlayer;
-(BOOL)isAuthenticated;
-(BOOL)isGameCenterAPIAvailable;

-(void)reportScore:(int)score forCategory:(NSString*)category;
-(BOOL)enterLeaderboard:(NSString*)category withView:(UIView*)view;

//-(void)reportAchievement:(NSString*)identifier percentComplete:(float)percent;
@end
